<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>门岗管理</title>
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/gate_sentry.css" />
    <link rel="stylesheet" type="text/css" href="css/editStyle.css" />
    <style>
        .aui_formcontent {
            text-align: right;
        }

        .pb5 {
            padding-bottom: 5rem;
        }

        .work_title_add {
            height: 24px;
            line-height: 24px;
            margin-top: 0;
        }

        .label-Tag {
            border: solid 1px #289fff;
            border-radius: 4px;
            padding: 3px 5px;
            color: #289fff;
            font-size: 12px;
            height: 24px;
            line-height: 24px;
            display: unset;
        }
        .label-Tag-grey{
            border-color: #999;
            color: #999;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <!-- 物品放行 -->
        <div v-if="status==2" class="boxarea edit">
            <!-- <div class="workheader new_work_title" style="position:relative;">
                <div class="work_title_add ellipsis_one fl" style="font-weight: bold;">放行条</div>
                <label class="typestatus dsl">{{itemform.VisitTypeName}}</label>
            </div> -->
            <div class="">
                <!-- loop -->
                <div class="aui_formitem">
                    <div class="aui_formtitle">通行事由</div>
                    <div class="aui_formcontent aui-ellipsis-1">
                        {{itemform.VisitTypeName}}
                    </div>
                </div>
                <div v-if="!itemform.ApplyCompany" class="aui_formitem">
                    <div class="aui_formtitle">申请单位</div>
                    <div class="aui_formcontent ">
                        {{itemform.ProjectName}}
                    </div>
                </div>
                <div v-if="itemform.ApplyCompany" class="aui_formitem">
                    <div class="aui_formtitle">所属项目</div>
                    <div class="aui_formcontent ">
                        {{itemform.ProjectName}}
                    </div>
                </div>
                <div v-if="itemform.ApplyCompany" class="aui_formitem">
                    <div class="aui_formtitle">申请单位</div>
                    <div class="aui_formcontent ">
                        {{itemform.ApplyCompany}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">申请人</div>
                    <div class="aui_formcontent">
                        {{itemform.VisitorName?itemform.VisitorName:'--'}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">手机号码</div>
                    <div class="aui_formcontent">
                        {{itemform.PhoneNumber}}
                    </div>
                </div>     
                <!-- <div class="aui_formitem">
                    <div class="aui_formtitle">携带人</div>
                    <div class="aui_formcontent">
                        {{itemform.VisitedName==''?'--':itemform.VisitedName}}
                    </div>
                </div> -->
                <!-- <div class="aui_formitem">
                    <div class="aui_formtitle">物品信息</div>
                    <div class="aui_formcontent">
                        {{itemform.ItemName==''?'--':itemform.ItemName}}
                    </div>
                </div> -->
                <div class="aui_formitem">
                    <div class="aui_formtitle">车辆信息</div>
                    <div class="aui_formcontent">
                        {{itemform.CarNumber==''?'--':itemform.CarNumber}}
                    </div>
                </div>
                <div class="aui_formitem border-bottom0">
                    <div class="aui_formtitle">物品信息</div>
                </div>
                <div class="">
                    <div class="aui_formitem block">
                        {{itemform.ReleaseExplain==''?'无':itemform.ReleaseExplain}}
                    </div>

                    <div class="imglist_box" style="display:flex;">
                        <div class="imglist_item" v-for="(item,index) in imglist">
                            <img v-on:click="do_viewimages(index)" class="imgitem ml4" v-bind:src="item.url" />
                        </div>
                    </div>
                </div>
                <div v-if="itemform.ReleaseStripID>0" class="aui_formitem border-bottom0">
                    <div class="aui_formtitle">数据来源</div>
                    <div class="aui_formcontent" v-on:click="openDetails(2)">
                        {{itemform.NumberNote?itemform.NumberNote:'空'}}
                        <label class="label-Tag aui-margin-r-5" v-bind:class="{'label-Tag-grey':form.UseStatus!=3}">{{itemform.UseStatusDesc}}</label>
                        <i class="icon iconfont icon-xiangyoujiantou"></i>
                    </div>
                </div>
                <div v-if="!itemform.ReleaseStripID" class="aui_formitem border-bottom0">
                    <div class="aui_formtitle">数据来源</div>
                    <div class="aui_formcontent">
                       门岗录入
                    </div>
                </div>
            </div>
        </div>

        <div v-if="status==2" class="boxarea edit">
            <div class="aui_formitem">
                <div class="aui_formtitle">放行时间</div>
                <div class="aui_formcontent">
                    {{itemform.LeaveTime==''?'--':itemform.LeaveTime}}
                </div>
            </div>
            <div class="aui_formitem">
                <div class="aui_formtitle">放行人</div>
                <div class="aui_formcontent">
                    {{itemform.AddUserName==''?'--':itemform.AddUserName}}
                </div>
            </div>
        </div>

        <!-- 来人来访 -->
        <div v-if="status==1" class="boxarea edit">
            <div class="work_title new_work_title">
                受访信息
            </div>
            <div class="">
                <div class="aui_formitem">
                    <div class="aui_formtitle">通行事由</div>
                    <div class="aui_formcontent">
                        {{form.VisitTypeName}}
                    </div>
                </div>
                <div v-if="!form.ApplyCompany" class="aui_formitem">
                    <div class="aui_formtitle">受访单位</div>
                    <div class="aui_formcontent ">
                        {{form.ProjectName}}
                    </div>
                </div>
                <div v-if="form.ApplyCompany" class="aui_formitem">
                    <div class="aui_formtitle">所属项目</div>
                    <div class="aui_formcontent ">
                        {{form.ProjectName}}
                    </div>
                </div>
                <div v-if="form.ApplyCompany" class="aui_formitem">
                    <div class="aui_formtitle">受访单位</div>
                    <div class="aui_formcontent">
                        {{form.ApplyCompany}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">受访人</div>
                    <div class="aui_formcontent">
                        {{form.VisitedName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">手机号码</div>
                    <div class="aui_formcontent">
                        {{form.VisitedPhone}}
                    </div>
                </div>
                <div v-if="form.MallVisit" class="aui_formitem">
                    <div class="aui_formtitle">数据来源</div>
                    <div class="aui_formcontent" v-on:click="openDetails(1)">
                        {{form.NumberNote?form.NumberNote:'空'}}
                        <label class="label-Tag aui-margin-r-5" v-bind:class="{'label-Tag-grey':form.UseStatus!=1}">{{form.UseStatusDesc}}</label>
                        <i class="icon iconfont icon-xiangyoujiantou"></i>
                    </div>
                </div>
                <div v-if="!form.MallVisit" class="aui_formitem border-bottom0">
                    <div class="aui_formtitle">数据来源</div>
                    <div class="aui_formcontent">
                       门岗录入
                    </div>
                </div>
            </div>
        </div>
        <div v-if="status==1" class="boxarea edit">
            <div class="work_title new_work_title">
                访客信息
            </div>
            <div class="">
                <div class="aui_formitem">
                    <div class="aui_formtitle">来访人</div>
                    <div class="aui_formcontent">
                        {{form.VisitorName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">手机号码</div>
                    <div class="aui_formcontent">
                        {{form.PhoneNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">身份证号</div>
                    <div class="aui_formcontent">
                        {{form.IDCardNumber==''?'--':form.IDCardNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">来访人数</div>
                    <div class="aui_formcontent">
                        {{form.VisitCount==''?'--':form.VisitCount}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">物品信息</div>
                    <div class="aui_formcontent">
                        {{form.ItemName==''?'--':form.ItemName}}
                    </div>
                </div>
                <div class="aui_formitem border-bottom0">
                    <div class="aui_formtitle">车辆信息</div>
                    <div class="aui_formcontent">
                        {{form.CarNumber==''?'--':form.CarNumber}}
                    </div>
                </div>
            </div>
        </div>
        <div v-if="status==1" class="boxarea edit">
            <div class="aui_formitem">
                <div class="aui_formtitle">放行时间</div>
                <div class="aui_formcontent">
                    {{form.FormatAddTime==''?'--':form.FormatAddTime}}
                </div>
            </div>
            <div class="aui_formitem">
                <div class="aui_formtitle">放行人</div>
                <div class="aui_formcontent">
                    {{form.AddUserName==''?'--':form.AddUserName}}
                </div>
            </div>
        </div>
        <div class="notodayList mb20 pb5">
            没有更多内容
        </div>

        <!--<div v-if="status==1&&form.LeaveTime==''" class="aui_bottom">
        <div v-on:click="do_leave()" class="aui_bottombtn">确认离开</div>
    </div>-->

    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/gate_sentry_details.js"></script>

</html>